home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Examples / arch_tool / arch_tool.c next >
Encoding:
C/C++ Source or Header  |  1994-09-23  |  682 b   |  26 lines

  1. /*
  2.   When compiling for 3.0, I've found that changing the top-level Makefile
  3.   was insufficient, at least when attempting to build the additional targets.
  4.   To cover, I wrote this program.
  5.  
  6.   Daniel Ashton
  7.   jdashton@southern.edu
  8.   
  9.   Copyright 1994 Daniel Ashton.  All rights reserved.  Use in the MiscKit
  10.   is permitted under the terms of the MiscKit license.
  11. */
  12.  
  13. #include <stdio.h>
  14.  
  15. int main (int argc, char *argv[])
  16. {    /*
  17.     This is not a complete emulation of NeXT's arch_tool program.
  18.     we are just assuming that the -archify flag was argv[1] since
  19.     that is all the MiscKit needs to use.  -DAY
  20.     */
  21.     int i;
  22.     for (i = 2; i < argc; i++) printf ("-arch %s ", argv [i]);
  23.     return 0;
  24. }
  25.  
  26.